﻿<Window xmlns:TelemetryLiveView="clr-namespace:Futaba.SBus.SampleApplication.TelemetryLiveView"  xmlns:ChannelList="clr-namespace:Futaba.SBus.SampleApplication.ChannelList"  x:Class="Futaba.SBus.SampleApplication.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
				xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
				mc:Ignorable="d" 
				xmlns:vm="clr-namespace:Futaba.SBus.SampleApplication"
				d:DataContext="{d:DesignInstance IsDesignTimeCreatable=True, Type={x:Type vm:MainViewModel}}"
        Title="MainWindow" Height="550" Width="750">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="200" />
			<ColumnDefinition Width="10" />
			<ColumnDefinition Width="*" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto" />
			<RowDefinition Height="*" />
			<RowDefinition Height="Auto" />
		</Grid.RowDefinitions>
		<vm:MainMenu Grid.ColumnSpan="3" Grid.Row="0" />
		<ChannelList:View Grid.Column="0" Grid.Row="1" DataContext="{Binding ChannelListViewModel}" />
		<GridSplitter Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
		<TelemetryLiveView:View Grid.Column="2" Grid.Row="1" DataContext="{Binding TelemetryLiveViewModel}" />
	</Grid>
</Window>
